An email prankster masquerading as a top executive of Goldman Sachs and Citigroup managed to get the chief executives of the two firms to respond to him as though his communications were genuine.